import {DEFAULT_QUERY_OPTION} from './constants';

const state = {
    domainData: {
        initData: {
            isFetching: false,
            isDealerUser: false,
            brands: [],
            dealers: [],
        },
        list: {
            isFetching: false,
            total: 0,
            message: '',
            data: []
        },
        permission: {
            isFetching: false,
            message: '',
            data: []
        },
    },
    appState: {
        queryBySort: {},
        queryCondition: DEFAULT_QUERY_OPTION,
    },
};

export default state;
